package com.example.order.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @projectName: eureka_demo1
 * @package: com.example.order.service
 * @className: UserService
 * @author: yangtongtong
 * @description: TODO
 * @date: 2023/7/24 15:56
 * @version: 1.0
 */

@Component
@FeignClient(name ="user-service",path = "/user")
public interface UserService {
    @GetMapping("/hello")
    String hello();
}
